// popover
.wea-workrelate-tag-choice-box-popover-reset {
    .ant-popover-inner-content {
        padding: 0;
    }
}
.wea-workrelate-tag-choice-box-popover {
    display: inline-block;
    width: 300px;
    height: 330px;
    background: #fff;
    z-index: 100;
    .wea-workrelate-tag-choice-box-popover-top {
        width: 100%;
        height: 35px;
        line-height: 30px;
        border-bottom: 1px solid rgba(215, 215, 215, 1);
        position: relative;
        padding: 0 10px;
        .wea-workrelate-tag-choice-box-popover-top-text {
            line-height: inherit;
            vertical-align: middle;
            font-size: 12px;
            display: inline-block;
            height: 100%;
            color: #333;
        }
        .wea-workrelate-tag-choice-box-popover-top-icon {
            float: right;
            line-height: inherit;
            vertical-align: middle;
            font-size: 16px;
            height: 100%;
            padding-top: 2px;
            cursor: pointer;
        }
    }
    .wea-workrelate-tag-choice-box-popover-list {
        width: 100%;
        height: 200px;
        border-bottom: 1px dashed rgba(215, 215, 215, 1);
        padding-bottom: 10px;
        overflow: auto;
        .wea-workrelate-tag-choice-box-popover-list-item {
            padding: 15px 10px 0 10px;
            display: flex;
            flex-direction: row;
            align-items: center;
            .wea-tag {
                .ant-tag-text {
                    display: inline-block;
                    max-width: 150px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
        }
    }
    .wea-workrelate-tag-choice-box-popover-add {
        width: 100%;
        height: 45px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid rgba(215, 215, 215, 1);
        &>i {
            font-size: 18px;
            color: #4d7ad8;
            cursor: pointer;
        }
        .wea-workrelate-tag-choice-box-popover-add-opr {
            &>span {
                display: inline-block;
                width: 54px;
                button {
                    width: 54px;
                    padding: 5px 8px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
        }
        .wea-workrelate-tag-choice-box-popover-add-sure {
            margin: 0 10px;
        }
    }
    .wea-workrelate-tag-choice-box-popover-bottom {
        width: 100%;
        height: 50px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        .wea-workrelate-tag-choice-box-popover-bottom-cancleall {
            margin-right: 10px;
        }
    }
}


// dialog
.wea-workrelate-tag-choice-box-dialog-content-wrapper {
    display: flex;
    flex-direction: column;
    .wea-workrelate-tag-choice-box-dialog-list {
        width: 100%;
        flex: 1;
        // padding-bottom: 15px;
        overflow-y: auto;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        align-content: flex-start;
        flex-wrap: wrap;
        .wea-workrelate-tag-choice-box-dialog-list-item {
            margin: 15px 15px 0 15px;
            flex-basis: 180px;
            overflow: hidden;
            display: inline-flex;
            flex-direction: row;
            align-items: center;
            .wea-tag {
                .ant-tag-text {
                    display: inline-block;
                    max-width: 135px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
        }
        .wea-workrelate-tag-choice-box-dialog-list-emptytxt {
            font-size: 14px;
            padding-top: 4px;
        }
    }
    .wea-workrelate-tag-choice-box-dialog-add {
        width: 100%;
        flex-basis: 60px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        padding-left: 20px;
        align-items: center;
        &>i {
            font-size: 18px;
            color: #4d7ad8;
            cursor: pointer;
        }
        .wea-workrelate-tag-choice-box-dialog-add-opr {
            flex-direction: row;
            justify-content: center;
            align-items: center;
            &>span {
                display: inline-block;
                // width: auto;
                button {
                    max-width: 70px;
                    padding: 5px 8px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
        }
        .wea-workrelate-tag-choice-box-dialog-add-sure {
            // margin: 0 10px;
        }
    }
}
